<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</meta>
<title>F().html演示</title>
<script type="text/javascript" src="../../1st.js"></script>
</head>
<body>
<select id="selectbox"></select>

<div id="box5" style="display:none;">I am box5</div>

<div id="box">
	<div id="box1"></div>
	<div id="box2"></div>
	<div id="box3"></div>
	<div id="box4"></div>
</div>

<script type="text/javascript">
var htm = '<option>1</option><option>2</option><option>3</option><option>4</option>';
F("selectbox").html(htm,3);
alert(F("selectbox").html(true));


F("box1").html("aaa");
F("box2").html([1,2,3]);
F("box3").html(function(me){return "I am "+me.index()});
F("box4").html(F("box5"));
alert(F("box").html());
alert(F("box").html(true));
</script>
</body>
</html>